package com.cloud.base.designmode.strategy;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class StrategyController {
    @GetMapping("/strategy/test")
    public String test(){
        String res = StrategyFactory.getService("impl1$test1").show();
        return res;
    }

}
